package com.regex.web.service.community.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.regex.web.dao.community.ArticleDAO;
import com.regex.web.entity.community.ArticleDTO;
import com.regex.web.service.base.impl.BaseServiceImpl;
import com.regex.web.service.community.IArticleService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author mhy
 * @since 2019-12-21
 */
@Service

public class ArticleServiceImpl extends BaseServiceImpl<ArticleDAO, ArticleDTO> implements IArticleService {

    @Override
    public List<ArticleDTO> getArticleList(Map<String, Object> map) {
        return baseMapper.getArticleList(map);
    }

    @Override
    public long getArticleCount(Map<String, Object> map) {
        return baseMapper.getArticleCount(map);
    }

}
